function loadXml(fileName) 
{
	var xmlDoc;	//定义XML文档解析器对象
	
	//创建XML解析器对象
	try {
		//若为IE类浏览器
		xmlDoc = new ActiveXObject("Microsoft.XMLDOM");
	} catch(e) {
		try {
			//若为火狐类浏览器
			xmlDoc = document.implementation.createDocument("","",null);
		} catch(e) {
			alert(e.message);
		}
	}
	
	try {
		xmlDoc.async = false;
		xmlDoc.load(fileName);
		return(xmlDoc);
	} catch(e) {
		alert(e.message);
	}
	
	//返回XML解析器对象
	return xmlDoc;
}